package week07;

/**
 * Created by cx on 17-11-3.
 */
public  class PlaneInAirPort implements AirPort{
    private  Plane plane;
    public PlaneInAirPort(Plane plane){
        this.plane=plane;
    }
    @Override
    public void schedule() {
        System.out.println("---机场管理---");
        plane.takeOff();
    }
}
